<template>
	<div class="door">
		<div class="top"><back></back>你的泪晶莹剔透，心中一定还有梦</div>
		<div class="list">
			<li v-for='i of list'>
				<router-link :to='{name:"productDetails",query:{id:i.id}}'>
					<div class="content">
						<img :src="'http://juhuituan.boguyuan.com/juhuituan'+i.img">
						<div></div>
					</div>
				</router-link>
			</li>
		</div>
	</div>
</template>
<script type="text/javascript">
	import back from '../public/back'
	export default {
		components:{
			back:back
		},
		data:function (argument) {
			// body...
			return{
				list:''
			}
		},
		created:function (){
			var _this = this;
			// 231
			var url = 'http://juhuituan.boguyuan.com/juhuituan/reqData?action=listPro&acode=1&uid=25177&type=2&id=231'
			this.axios.get(url).then(function (data) {
				// console.log(data.data.data.items);
				_this.list = data.data.data.items;
			})
		}
	}
</script>
<style scoped="">
	@import '../../assets/css/door.css'
</style>